package sanshui.system.trade.service;

import sanshui.system.trade.db.entity.TradeTargetCode;

import java.util.List;

public interface ITradeTargetCodeService {
    public void insert(String tsCode);
    public void insert(List<String> tsCode, Long workerId);
    public void insertIndex(String index);
    public void update(TradeTargetCode tradeTargetCode);

    public List<TradeTargetCode> findTargetCodesByWorkerId(Long workerId);

    public TradeTargetCode findTargetCodeInList(String targetCode, List<TradeTargetCode> codeList);

}
